package com.shopping.service;

import java.util.List;

import com.shopping.commons.response.DataGradResp;
import com.shopping.commons.service.CommonsService;
import com.shopping.model.Commodity;
import com.shopping.param.CommodityParam;
import com.shopping.response.CommodityResp;

public interface ICommodityService extends CommonsService<Commodity>{
	
	public DataGradResp<CommodityResp> select(CommodityParam param);

	/**
	 * 不同类别的查询商品
	 * @param mthod
	 * @param param
	 * @return
	 */
	public List<CommodityResp> select(String mthod, CommodityParam param);
	
	public List<CommodityResp> findByIds(String id);

}
